package com.jc.cds.mapper;

import com.jc.cds.model.CustomUserOrder;
import com.jc.ds.base.annotation.MyBatisRepository;
import com.jc.ds.mapper.BaseCustomMapper;
import com.jc.ds.model.UserOrder;

import java.math.BigDecimal;
import java.util.List;

@MyBatisRepository
public interface CustomerUserOrderMapper extends BaseCustomMapper<CustomUserOrder, Long> {
    public BigDecimal withdrawalOfExcess(Long userId);
    
    List<CustomUserOrder> queryOrderAllUser(UserOrder userOrder);
}
